<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>EOS.IO: contracts/dice/dice.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN1.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ae9b15dd87e066e1908bbd90e8f38627.html">contracts</a></li><li class="navelem"><a class="el" href="dir_df9ec5dd3eb98ed2672871667d1ff010.html">dice</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">dice.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="dice_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacedice.html">dice</a> {</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="structdice_1_1_offer_bet.html">    8</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="structdice_1_1_offer_bet.html">OfferBet</a> {</div><div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="structdice_1_1_offer_bet.html#a9b71a51ccf5e241fcb09d82757aaf02a">    9</a></span>&#160;      <a class="code" href="structeos_1_1token.html">eosio::Tokens</a>   <a class="code" href="structdice_1_1_offer_bet.html#a9b71a51ccf5e241fcb09d82757aaf02a">amount</a>;</div><div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="structdice_1_1_offer_bet.html#aa3c5d3ee1d3077c8573564cbe0e60a1c">   10</a></span>&#160;      <a class="code" href="group__types.html#gad67b43dc23285b01176f4c181c59fc23">AccountName</a>   <a class="code" href="structdice_1_1_offer_bet.html#aa3c5d3ee1d3077c8573564cbe0e60a1c">player</a>;</div><div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="structdice_1_1_offer_bet.html#a17dbf172fab27039df1c29906c85a06f">   11</a></span>&#160;      <a class="code" href="structuint256.html">uint256</a>       <a class="code" href="structdice_1_1_offer_bet.html#a17dbf172fab27039df1c29906c85a06f">commitment</a>;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;   };</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="structdice_1_1_cancel_offer.html">   14</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="structdice_1_1_cancel_offer.html">CancelOffer</a> {</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="structdice_1_1_cancel_offer.html#a6a505f4c05b3bbbdd413416defa488f7">   15</a></span>&#160;      <a class="code" href="structuint256.html">uint256</a>  <a class="code" href="structdice_1_1_cancel_offer.html#a6a505f4c05b3bbbdd413416defa488f7">commitment</a>;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;   };</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="structdice_1_1_reveal.html">   18</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="structdice_1_1_reveal.html">Reveal</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="structdice_1_1_reveal.html#ac731fa11505f6d162de3fbd1d788f0e9">   19</a></span>&#160;      <a class="code" href="structuint256.html">uint256</a>  <a class="code" href="structdice_1_1_reveal.html#ac731fa11505f6d162de3fbd1d788f0e9">commitment</a>;</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="structdice_1_1_reveal.html#a5a8478999080e6ba0380eda8d2189661">   20</a></span>&#160;      <a class="code" href="structuint256.html">uint256</a>  <a class="code" href="structdice_1_1_reveal.html#a5a8478999080e6ba0380eda8d2189661">source</a>;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;   };</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="structdice_1_1_claim_expired.html">   23</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="structdice_1_1_claim_expired.html">ClaimExpired</a> {</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="structdice_1_1_claim_expired.html#a6a378acdf2bf2ec6dfc15fcf50a6a771">   24</a></span>&#160;      <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> gameid = 0;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;   };</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="namespacedice.html#a72186884f38f963618fea0644ea10df3">   27</a></span>&#160;   <span class="keyword">using</span> <a class="code" href="structeos_1_1token.html">EosTokens</a> = <a class="code" href="group__tokens.html#gad7688ac4dfe873f7c66e2664bbd861f9">eosio::Tokens</a>;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structdice_1_1_offer_primary_key.html">   29</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="structdice_1_1_offer_primary_key.html">OfferPrimaryKey</a> {</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structdice_1_1_offer_primary_key.html#a5e15bf364e70c1f1f577216af269e457">   30</a></span>&#160;      <a class="code" href="structeos_1_1token.html">EosTokens</a>          <a class="code" href="structdice_1_1_offer_primary_key.html#a5e15bf364e70c1f1f577216af269e457">bet</a>;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="structdice_1_1_offer_primary_key.html#a9788afed35028df26a926f1d91587fa7">   31</a></span>&#160;      <a class="code" href="group__types.html#gad67b43dc23285b01176f4c181c59fc23">AccountName</a>        <a class="code" href="structdice_1_1_offer_primary_key.html#a9788afed35028df26a926f1d91587fa7">owner</a>;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;   };</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="namespacedice.html#a1fb03a133423a7202ae10a51420efcd1">   47</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="namespacedice.html#a1fb03a133423a7202ae10a51420efcd1">PACKED</a>( Offer ) {</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;      <a class="code" href="structdice_1_1_offer_primary_key.html">OfferPrimaryKey</a>    <a class="code" href="test__db_8cpp.html#af15b5e608a0fbe8c184ab90b3791413f">primary</a>;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;      <a class="code" href="structuint256.html">uint256</a>            <a class="code" href="structdice_1_1_offer_bet.html#a17dbf172fab27039df1c29906c85a06f">commitment</a>;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;      <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>           gameid = 0;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;   };</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structdice_1_1_player.html">   53</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="structdice_1_1_player.html">Player</a> {</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="structdice_1_1_player.html#ae8e2403845fd889665e7e65f6bf4e62d">   54</a></span>&#160;      <a class="code" href="structuint256.html">uint256</a>     <a class="code" href="structdice_1_1_player.html#ae8e2403845fd889665e7e65f6bf4e62d">commitment</a>;</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structdice_1_1_player.html#a1fcc6b53309688f54e038ea5f8f58939">   55</a></span>&#160;      <a class="code" href="structuint256.html">uint256</a>     <a class="code" href="structdice_1_1_player.html#a1fcc6b53309688f54e038ea5f8f58939">reveal</a>;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;   };</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="namespacedice.html#a59c50891eaf1def868e13d7eb1b5c7dd">   61</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="namespacedice.html#a1fb03a133423a7202ae10a51420efcd1">PACKED</a>( Game ) {</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;      <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>  gameid;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;      <a class="code" href="structeos_1_1token.html">EosTokens</a> bet;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;      <a class="code" href="group__types.html#ga2518c21789dfad901bbf283f9ea4247f">Time</a>      deadline;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;      <a class="code" href="structdice_1_1_player.html">Player</a>    player1;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;      <a class="code" href="structdice_1_1_player.html">Player</a>    player2;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;   };</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="namespacedice.html#a4600eb23d9ac0efe2afb987b43b99a53">   69</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="namespacedice.html#a4600eb23d9ac0efe2afb987b43b99a53">Packed</a>( <a class="code" href="struct_table.html">GlobalDice</a> ) {</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;      <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> nextgameid = 0;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;   };</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="namespacedice.html#a7a88ad77f1bf6cf6a132f7d0042faa51">   74</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="namespacedice.html#a1fb03a133423a7202ae10a51420efcd1">PACKED</a>( <a class="code" href="struct_account.html">Account</a> ) {</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;      <a class="code" href="struct_account.html">Account</a>( <a class="code" href="group__types.html#gad67b43dc23285b01176f4c181c59fc23">AccountName</a> o = <a class="code" href="group__types.html#gad67b43dc23285b01176f4c181c59fc23">AccountName</a>() ):owner(o){}</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;      <a class="code" href="group__types.html#gad67b43dc23285b01176f4c181c59fc23">AccountName</a>        owner;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;      <a class="code" href="structeos_1_1token.html">EosTokens</a>          eos_balance;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;      <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>           open_offers = 0;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;      <span class="keywordtype">bool</span> isEmpty()<span class="keyword">const </span>{ <span class="keywordflow">return</span> ! ( bool(eos_balance) |  open_offers); }</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;   };</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="namespacedice.html#a9cd405289e076229c908b10f3777a442">   84</a></span>&#160;   <span class="keyword">using</span> <a class="code" href="struct_table.html">Accounts</a> = <a class="code" href="struct_table.html">Table&lt;N(dice),N(dice),N(account),Account,uint64_t&gt;</a>;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="namespacedice.html#a02d8f4825162bff31029735c354fbffc">   85</a></span>&#160;   <span class="keyword">using</span> <a class="code" href="struct_table.html">GlobalDice</a> = <a class="code" href="struct_table.html">Table&lt;N(dice),N(dice),N(global),GlobalDice,uint64_t&gt;</a>;</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="namespacedice.html#aa3e3d853e1d38daff2ff1303a1d6e99e">   86</a></span>&#160;   <span class="keyword">using</span> <a class="code" href="struct_table.html">Offers</a> = <a class="code" href="struct_table.html">Table&lt;N(dice),N(dice),N(global),GlobalDice,OfferPrimaryKey,uint128_t&gt;</a>;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="namespacedice.html#a9b4ff61171468f16f1aa209e2c7f7664">   88</a></span>&#160;   <span class="keyword">inline</span> <a class="code" href="struct_account.html">Account</a> <a class="code" href="namespacedice.html#a9b4ff61171468f16f1aa209e2c7f7664">getAccount</a>( <a class="code" href="group__types.html#gad67b43dc23285b01176f4c181c59fc23">AccountName</a> owner ) {</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;      <a class="code" href="struct_account.html">Account</a> account(owner);</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;      <a class="code" href="struct_table.html#a50bc5f57482c6a018e7eaf4e716e038c">Accounts::get</a>( account );</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;      <span class="keywordflow">return</span> account;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;   }</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;};</div><div class="ttc" id="structdice_1_1_offer_bet_html_a9b71a51ccf5e241fcb09d82757aaf02a"><div class="ttname"><a href="structdice_1_1_offer_bet.html#a9b71a51ccf5e241fcb09d82757aaf02a">dice::OfferBet::amount</a></div><div class="ttdeci">eosio::Tokens amount</div><div class="ttdef"><b>Definition:</b> dice.hpp:9</div></div>
<div class="ttc" id="struct_account_html"><div class="ttname"><a href="struct_account.html">Account</a></div><div class="ttdef"><b>Definition:</b> social.cpp:43</div></div>
<div class="ttc" id="structdice_1_1_reveal_html"><div class="ttname"><a href="structdice_1_1_reveal.html">dice::Reveal</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:18</div></div>
<div class="ttc" id="structdice_1_1_offer_primary_key_html_a9788afed35028df26a926f1d91587fa7"><div class="ttname"><a href="structdice_1_1_offer_primary_key.html#a9788afed35028df26a926f1d91587fa7">dice::OfferPrimaryKey::owner</a></div><div class="ttdeci">AccountName owner</div><div class="ttdef"><b>Definition:</b> dice.hpp:31</div></div>
<div class="ttc" id="group__types_html_gad67b43dc23285b01176f4c181c59fc23"><div class="ttname"><a href="group__types.html#gad67b43dc23285b01176f4c181c59fc23">AccountName</a></div><div class="ttdeci">uint64_t AccountName</div><div class="ttdef"><b>Definition:</b> types.h:24</div></div>
<div class="ttc" id="structdice_1_1_player_html_ae8e2403845fd889665e7e65f6bf4e62d"><div class="ttname"><a href="structdice_1_1_player.html#ae8e2403845fd889665e7e65f6bf4e62d">dice::Player::commitment</a></div><div class="ttdeci">uint256 commitment</div><div class="ttdef"><b>Definition:</b> dice.hpp:54</div></div>
<div class="ttc" id="namespacedice_html_a9b4ff61171468f16f1aa209e2c7f7664"><div class="ttname"><a href="namespacedice.html#a9b4ff61171468f16f1aa209e2c7f7664">dice::getAccount</a></div><div class="ttdeci">Account getAccount(AccountName owner)</div><div class="ttdef"><b>Definition:</b> dice.hpp:88</div></div>
<div class="ttc" id="structdice_1_1_player_html_a1fcc6b53309688f54e038ea5f8f58939"><div class="ttname"><a href="structdice_1_1_player.html#a1fcc6b53309688f54e038ea5f8f58939">dice::Player::reveal</a></div><div class="ttdeci">uint256 reveal</div><div class="ttdef"><b>Definition:</b> dice.hpp:55</div></div>
<div class="ttc" id="group__types_html_gaaa5d1cd013383c889537491c3cfd9aad"><div class="ttname"><a href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a></div><div class="ttdeci">unsigned long long uint64_t</div><div class="ttdef"><b>Definition:</b> types.h:17</div></div>
<div class="ttc" id="structdice_1_1_offer_primary_key_html_a5e15bf364e70c1f1f577216af269e457"><div class="ttname"><a href="structdice_1_1_offer_primary_key.html#a5e15bf364e70c1f1f577216af269e457">dice::OfferPrimaryKey::bet</a></div><div class="ttdeci">EosTokens bet</div><div class="ttdef"><b>Definition:</b> dice.hpp:30</div></div>
<div class="ttc" id="structdice_1_1_reveal_html_ac731fa11505f6d162de3fbd1d788f0e9"><div class="ttname"><a href="structdice_1_1_reveal.html#ac731fa11505f6d162de3fbd1d788f0e9">dice::Reveal::commitment</a></div><div class="ttdeci">uint256 commitment</div><div class="ttdef"><b>Definition:</b> dice.hpp:19</div></div>
<div class="ttc" id="structeos_1_1token_html"><div class="ttname"><a href="structeos_1_1token.html">eosio::token&lt; uint64_t, N(eos)&gt;</a></div></div>
<div class="ttc" id="structdice_1_1_player_html"><div class="ttname"><a href="structdice_1_1_player.html">dice::Player</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:53</div></div>
<div class="ttc" id="structuint256_html"><div class="ttname"><a href="structuint256.html">uint256</a></div><div class="ttdef"><b>Definition:</b> types.h:33</div></div>
<div class="ttc" id="structdice_1_1_offer_primary_key_html"><div class="ttname"><a href="structdice_1_1_offer_primary_key.html">dice::OfferPrimaryKey</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:29</div></div>
<div class="ttc" id="structdice_1_1_offer_bet_html_aa3c5d3ee1d3077c8573564cbe0e60a1c"><div class="ttname"><a href="structdice_1_1_offer_bet.html#aa3c5d3ee1d3077c8573564cbe0e60a1c">dice::OfferBet::player</a></div><div class="ttdeci">AccountName player</div><div class="ttdef"><b>Definition:</b> dice.hpp:10</div></div>
<div class="ttc" id="structdice_1_1_claim_expired_html"><div class="ttname"><a href="structdice_1_1_claim_expired.html">dice::ClaimExpired</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:23</div></div>
<div class="ttc" id="structdice_1_1_reveal_html_a5a8478999080e6ba0380eda8d2189661"><div class="ttname"><a href="structdice_1_1_reveal.html#a5a8478999080e6ba0380eda8d2189661">dice::Reveal::source</a></div><div class="ttdeci">uint256 source</div><div class="ttdef"><b>Definition:</b> dice.hpp:20</div></div>
<div class="ttc" id="group__tokens_html_gad7688ac4dfe873f7c66e2664bbd861f9"><div class="ttname"><a href="group__tokens.html#gad7688ac4dfe873f7c66e2664bbd861f9">eosio::Tokens</a></div><div class="ttdeci">eosio::token&lt; uint64_t, N(eos)&gt; Tokens</div><div class="ttdoc">Defines eos tokens. </div><div class="ttdef"><b>Definition:</b> token.hpp:386</div></div>
<div class="ttc" id="group__types_html_ga06896e8c53f721507066c079052171f8"><div class="ttname"><a href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a></div><div class="ttdeci">unsigned long uint32_t</div><div class="ttdef"><b>Definition:</b> types.h:18</div></div>
<div class="ttc" id="namespacedice_html_a4600eb23d9ac0efe2afb987b43b99a53"><div class="ttname"><a href="namespacedice.html#a4600eb23d9ac0efe2afb987b43b99a53">dice::Packed</a></div><div class="ttdeci">struct Packed(GlobalDice)</div><div class="ttdef"><b>Definition:</b> dice.hpp:69</div></div>
<div class="ttc" id="namespacedice_html"><div class="ttname"><a href="namespacedice.html">dice</a></div><div class="ttdef"><b>Definition:</b> dice.cpp:6</div></div>
<div class="ttc" id="structdice_1_1_offer_bet_html"><div class="ttname"><a href="structdice_1_1_offer_bet.html">dice::OfferBet</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:8</div></div>
<div class="ttc" id="structdice_1_1_offer_bet_html_a17dbf172fab27039df1c29906c85a06f"><div class="ttname"><a href="structdice_1_1_offer_bet.html#a17dbf172fab27039df1c29906c85a06f">dice::OfferBet::commitment</a></div><div class="ttdeci">uint256 commitment</div><div class="ttdef"><b>Definition:</b> dice.hpp:11</div></div>
<div class="ttc" id="namespacedice_html_a1fb03a133423a7202ae10a51420efcd1"><div class="ttname"><a href="namespacedice.html#a1fb03a133423a7202ae10a51420efcd1">dice::PACKED</a></div><div class="ttdeci">struct PACKED(Offer)</div><div class="ttdef"><b>Definition:</b> dice.hpp:47</div></div>
<div class="ttc" id="structdice_1_1_cancel_offer_html"><div class="ttname"><a href="structdice_1_1_cancel_offer.html">dice::CancelOffer</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:14</div></div>
<div class="ttc" id="structdice_1_1_cancel_offer_html_a6a505f4c05b3bbbdd413416defa488f7"><div class="ttname"><a href="structdice_1_1_cancel_offer.html#a6a505f4c05b3bbbdd413416defa488f7">dice::CancelOffer::commitment</a></div><div class="ttdeci">uint256 commitment</div><div class="ttdef"><b>Definition:</b> dice.hpp:15</div></div>
<div class="ttc" id="test__db_8cpp_html_af15b5e608a0fbe8c184ab90b3791413f"><div class="ttname"><a href="test__db_8cpp.html#af15b5e608a0fbe8c184ab90b3791413f">primary</a></div><div class="ttdeci">int primary[11]</div><div class="ttdef"><b>Definition:</b> test_db.cpp:7</div></div>
<div class="ttc" id="struct_table_html"><div class="ttname"><a href="struct_table.html">Table</a></div><div class="ttdef"><b>Definition:</b> db.hpp:549</div></div>
<div class="ttc" id="struct_table_html_a50bc5f57482c6a018e7eaf4e716e038c"><div class="ttname"><a href="struct_table.html#a50bc5f57482c6a018e7eaf4e716e038c">Table::get</a></div><div class="ttdeci">static bool get(const PrimaryType &amp;p, Record &amp;r, uint64_t s=scope)</div><div class="ttdef"><b>Definition:</b> db.hpp:748</div></div>
<div class="ttc" id="group__types_html_ga2518c21789dfad901bbf283f9ea4247f"><div class="ttname"><a href="group__types.html#ga2518c21789dfad901bbf283f9ea4247f">Time</a></div><div class="ttdeci">uint32_t Time</div><div class="ttdef"><b>Definition:</b> types.h:28</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
